#pragma once
#include "DXAMLCommon.h"
#include "IPALSoundSourceCallback.h"
#include "IPALSoundBuffer.h"


enum PAL_SOUND_WAVEFORMAT
{
	PAL_SOUND_WAVEFORMAT_IEEE = 0x0,
	PAL_SOUND_WAVEFORMAT_PCM = 0x1,
};



struct PALSOUNDFORMAT
{
	PAL_SOUND_WAVEFORMAT eWaveformat;
	unsigned int dwChannels;
	unsigned int dwBits;
	unsigned int dwSamplesPerSec;

};

class IPALSoundManager
{
public:
	virtual XUINT32 AddRef() = 0;
	virtual XUINT32 Release() = 0;
	virtual HRESULT CreateSoundBuffer(PALSOUNDFORMAT *, IPALSoundSourceCallback *, IPALSoundBuffer **) = 0;
};